package com.liugh.service.zhongche;

import com.baomidou.mybatisplus.plugins.Page;
import com.liugh.entity.standard.StandardCategory;
import com.liugh.entity.standard.StandardItem;

/**
 * Created by Fatao on 2018/11/12 .
 */
public interface IStandardCategoryService {


    StandardCategory addStandardCategory(StandardCategory standardCategory);

    StandardCategory updateStandcategoryById(StandardCategory standardCategory);


    int deleteCategoryById(int id);


    StandardCategory getCategoryById(int id);


    Page<StandardCategory> getAllStandCategory(Page<StandardCategory> page);

    Page<StandardItem> getItemByCatId(Page<StandardItem> page,int id);
}
